package com.ruoyi.zhmk.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 门禁设备对象 zhmk_door
 * 
 * @author sxl
 * @date 2021-06-15
 */
public class ZhmkDoor extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 门禁ID */
    private Long doorId;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String doorName;

    /** 设备位置 */
    @Excel(name = "设备位置")
    private String doorPosition;

    /** IP地址 */
    @Excel(name = "IP地址")
    private String doorIp;

    /** 端口号 */
    @Excel(name = "端口号")
    private String doorPort;

    /** 设备ID */
    @Excel(name = "设备ID")
    private String deviceId;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setDoorId(Long doorId) 
    {
        this.doorId = doorId;
    }

    public Long getDoorId() 
    {
        return doorId;
    }
    public void setDoorName(String doorName) 
    {
        this.doorName = doorName;
    }

    public String getDoorName() 
    {
        return doorName;
    }
    public void setDoorPosition(String doorPosition) 
    {
        this.doorPosition = doorPosition;
    }

    public String getDoorPosition() 
    {
        return doorPosition;
    }
    public void setDoorIp(String doorIp) 
    {
        this.doorIp = doorIp;
    }

    public String getDoorIp() 
    {
        return doorIp;
    }
    public void setDoorPort(String doorPort) 
    {
        this.doorPort = doorPort;
    }

    public String getDoorPort() 
    {
        return doorPort;
    }
    public void setDeviceId(String deviceId) 
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId() 
    {
        return deviceId;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("doorId", getDoorId())
            .append("doorName", getDoorName())
            .append("doorPosition", getDoorPosition())
            .append("doorIp", getDoorIp())
            .append("doorPort", getDoorPort())
            .append("deviceId", getDeviceId())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
